Filter hook 'term_{$field}'
in WP Core File wp-includes/taxonomy.php at line 1882
Description
Filters the term field sanitized for display. The dynamic portion of the hook name, `$field`, refers to the term field name.
Occurrences
Filename |
Line Number |
wp-includes/taxonomy.php |
1882 |
Parameters
Type |
Name |
Description |
mixed |
$value |
Value of the term field. |
int |
$term_id |
Term ID. |
string |
$taxonomy |
Taxonomy slug. |
string |
$context |
Context to retrieve the term field value. |
PHP Doc
/**
* Filters the term field sanitized for display.
*
* The dynamic portion of the hook name, `$field`, refers to the term field name.
*
* @since 2.3.0
*
* @param mixed $value Value of the term field.
* @param int $term_id Term ID.
* @param string $taxonomy Taxonomy slug.
* @param string $context Context to retrieve the term field value.
*/